<?php
/**
 * Created by PhpStorm.
 * User: fengsenhua
 * Date: 2019/2/14
 * Time: 15:48
 */

namespace app\api\model;


class ProductImage extends BaseModel
{
        protected $hiddden=['img_id','delete_time','product_id'];
        public function imgUrl(){
            return $this->belongsTo('Image','img_id','id');
        }
}